package one.stand.model.essay;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文章关联
 * </p>
 *
 * @author luoyang
 * @since 2020-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EssayRelated对象", description="文章关联")
public class EssayRelatedModel implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "文章分享id")
    private Long recordId;

    @ApiModelProperty(value = "文章id")
    private Long dynamicId;

    @ApiModelProperty(value = "商品id,与文章id 2选一")
    private Long goodsId;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "关联类型 1商品 2文章 ")
    private Long relatedType;

}
